package com.zetyun.tiger.connector.op.v1;

import com.fasterxml.jackson.annotation.JsonClassDescription;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zetyun.rt.meta.jsonschema.annotation.JsonSchemaTitle;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Set;

@Getter
@Setter
@ToString
@JsonClassDescription("Redis 算子参数类")
public class RedisOpParameter {

    @JsonSchemaTitle("master名称")
    @JsonProperty(defaultValue = "redis-master")
    private String masterName;

    @JsonSchemaTitle("sentinel地址")
    @JsonProperty(defaultValue = "rdx1:26379")
    private Set<String> sentinels;

    @JsonSchemaTitle("密码")
    @JsonProperty(defaultValue = "Redis6379")
    private String password;

    @JsonSchemaTitle("日期")
    @JsonProperty(defaultValue = "RT_EVENT_DATE")
    private String dayId;

    @JsonSchemaTitle("客户经理号")
    @JsonProperty(defaultValue = "CB_CONNTR_NO")
    private String conntrNo;

    @JsonSchemaTitle("客户号")
    @JsonProperty(defaultValue = "CB_CUST_NO")
    private String custNo;


    @JsonSchemaTitle("内部账号")
    @JsonProperty(defaultValue = "CB_ACCT_NO")
    private String acctNo;

    @JsonSchemaTitle("开销户标识")
    @JsonProperty(defaultValue = "CB_OPAC_TYP")
    private String opacType;
}
